package com.urun.interceptor.hotanalysis.service;


import com.urun.interceptor.hotanalysis.DTO.RankSearchDTO;
import com.urun.interceptor.hotanalysis.mapper.db2.RankSearchMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RankSearchService {

    @Autowired
    RankSearchMapper rankSearchMapper;

    public List<RankSearchDTO> searchDTOS(){
        return rankSearchMapper.Search();
    }

    public List<RankSearchDTO> serchDtosLike(String input,String BeginTime,String EndTime,Integer PlanID){
        return rankSearchMapper.SearchLike(input,BeginTime,EndTime,PlanID);
    }


}
